<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type"	content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<jsp:useBean id="zhangshan"
		class="cn.edu.scau.chentingyu.bean.User">
		<jsp:setProperty name="zhangshan" property="*" />
	</jsp:useBean>
	
	
	姓名是：<%=request.getParameter("username") %>
	密码是：<%=request.getParameter("password") %>

	姓名是：<jsp:getProperty property="username" name="zhangshan" />
	密码是：<jsp:getProperty property="password" name="zhangshan" />

</body>
</html>